<button id="start-conversation-dialog-button" type="button" class="button button__sm md:button__lg button__secondary" data-dialog-open="conversation">
  <span class="sr-only md:not-sr-only"><%= t("new_conversation", scope: "decidim.messaging.conversations.index") %></span>
  <%= icon "question-answer-line", class: "fill-current" %>
</button>

<%= decidim_modal id: "conversation", class: "conversation__modal" do %>
  <%= decidim_form_for(@form, url: conversations_check_multiple_url, html: { class: "form", id: nil }) do |f| %>
    <%= render "add_conversation_users", object: f, locals: { title: "new title" } %>

    <div data-dialog-actions>
      <button type="button" class="button button__sm md:button__lg button__transparent-secondary" data-dialog-close="conversation">
        <%= t("decidim.shared.confirm_modal.cancel") %>
      </button>
      <button type="submit" class="button button__sm md:button__lg button__secondary">
        <%= t("next", scope: "decidim.messaging.conversations.index") %>
        <%= icon "arrow-right-line", class: "fill-current" %>
      </button>
    </div>
  <% end %>
<% end %>
